<?php

use yii\db\Migration;

/**
 * Handles the creation of table `{{%fond_collection}}`.
 */
class m231204_070550_create_fond_collection_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->createTable('{{%fond_collection}}', [
            'id' => $this->primaryKey(),
            'title' => $this->string()->notNull(),
            'description' => $this->string(1024),
        ]);
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropTable('{{%fond_collection}}');
    }
}
